package com.ruoyi.party.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户文章分类对象 party_category
 * 
 * @author myt
 * @date 2024-07-07
 */
public class PartyCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类id */
    private Long id;

    /** 图标 */
    @Excel(name = "图标")
    private String icon;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 分类图片 */
    @Excel(name = "分类图片")
    private String categoryImage;

    /** 分类标题 */
    @Excel(name = "分类标题")
    private String title;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private String version;

    /** 分类描述 */
    @Excel(name = "分类描述")
    private String description;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setCategoryImage(String categoryImage) 
    {
        this.categoryImage = categoryImage;
    }

    public String getCategoryImage() 
    {
        return categoryImage;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("icon", getIcon())
            .append("categoryName", getCategoryName())
            .append("categoryImage", getCategoryImage())
            .append("title", getTitle())
            .append("remark", getRemark())
            .append("version", getVersion())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
